home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
patch
/
pagestream
/
pgs32tu3
/
scripts.lha
/
CurveText.rexx
next >
Wrap
OS/2 REXX Batch file
|
1996-11-20
|
1KB
|
45 lines
/* $VER: Curve Text 1.0 (11.20.96)
Copyright 1996 SoftLogik Publishing Corporation
May not be distributed without SoftLogik Publishing Corporation's express written permission */
ADDRESS 'PAGESTREAM'
options results
/* CHECK FOR OBJECTS */
getselectedobjects
if result<2 then call OOPS()
'lockinterface true'
'refresh wait'
/* CURVE TEXT */
'maketextfxpath'
if rc~=0 then do
'refresh continue'
'lockinterface false'
call OOPS()
end
'edittextobj textfx along scaletofit true'
'refresh continue'
'refreshwindow'
'lockinterface false'
EXIT
OOPS:
/* TextFX not installed or wrong objects */
allocarexxrequester '"Cannot Warp Text"' 366 67
hAlert=result
addarexxgadget hAlert TEXT 8 12 348 border none string '"You must have TextFX 2 installed and select"'
addarexxgadget hAlert TEXT 8 24 348 border none string '"a text block and a path to use this script."'
addarexxgadget hAlert EXIT 282 48 70 label "Exit"
doarexxrequester hAlert
freearexxrequester hAlert
'lockinterface false'
EXIT
RETURN